<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script src="/bck/static/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<body>
    <script type="text/javascript">
        $.ajax({
            type:"post",
            url:"/input.php",
            data:{
                php:1,
                java:2
            },
            success:function(mgs){
                console.log(mgs);
            }
        });
    </script>
</body>
</html>